Packages

c

com.fsf.news.repository

NewsSourcesRepository

class NewsSourcesRepository extends SessionRepository[SourcesResult, Source]

A repository class for storing and retrieving news sources results.

Annotations
@Singleton()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NewsSourcesRepository
  2. SessionRepository
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected
  3. Private

Instance Constructors

  1. new NewsSourcesRepository()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def findAll(sessionId: String): List[SourcesResult]

    Retrieves a list of all stored entities.

    Retrieves a list of all stored entities.

    sessionId

    The session ID

    returns

    A list of entities

    Definition Classes
    SessionRepository
  9. def findAllElements(sessionId: String, getElements: Function[SourcesResult, List[Source]]): List[Source]

    Retrieves a list of existing sub-elements under all stored entities.

    Retrieves a list of existing sub-elements under all stored entities.

    sessionId

    The session ID

    returns

    A list of sub-elements

    Attributes
    protected[repository]
    Definition Classes
    SessionRepository
  10. def findAllSources(sessionId: String): List[Source]

    Retrieves a list of existing sources across all stored sources results.

    Retrieves a list of existing sources across all stored sources results.

    sessionId

    The session ID

    returns

    A list of sources

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def getSessionQueue(sessionId: String): EvictingQueue[SourcesResult]

    Retrieves the EvictingQueue associated with the given session ID.

    Retrieves the EvictingQueue associated with the given session ID.

    sessionId

    The session ID

    returns

    The EvictingQueue associated with the session ID, or an empty queue if not found

    Attributes
    protected[repository]
    Definition Classes
    SessionRepository
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. def save(entity: SourcesResult, sessionId: String): SourcesResult

    Adds a new entity to the repository and returns the entity.

    Adds a new entity to the repository and returns the entity.

    entity

    The entity to add

    sessionId

    The session ID

    returns

    The saved entity

    Definition Classes
    SessionRepository
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped